package com.gismore.demo.config.converter;

import org.aeonbits.owner.Converter;

import java.lang.reflect.Method;

/**
 * Created by lei on 2017/5/25.
 */

public class DevModeConverter implements Converter<Boolean> {
	@Override
	public Boolean convert(Method method, String s) {
		return s.equalsIgnoreCase("dev");
	}
}
